<?php /* Smarty version 2.6.16, created on 2013-09-11 14:01:29
         compiled from d:%5Cwww%5Cclient%5Cgetbids/templates/default//modules/signin/signin.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_start'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '<link rel="stylesheet" type="text/css" href="';  echo $this->_tpl_vars['siteroot'];  echo '/templates/default/style/registration.css"><script src="';  echo $this->_tpl_vars['siteroot'];  echo '/includes/js/login.js" type="text/javascript"></script>'; ?>

<?php echo '
<script type="text/javascript">
function isSpace(e)                                                                   //Check for Blank spaces
{
	if(navigator.appName=="Microsoft Internet Explorer")
	{
		if(e.keyCode==32)	
		{
			return false;
		}
	}
	if(navigator.appName=="Netscape")
	{
		if(e.which==32)	
		{
			return false;
		}
	}
	return true;
}
</script>
'; ?>



<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_end'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<!-- MIDDLE CONTAIN GOES HERE -->
<section class="inner_wrapper">
	<section class="middle_portion">
	<h1 class="registr_head">Profile Login </h1>
   
   
  <section style="margin-top:20px;">   
     <section class="lF" style="width:475px;">
	 <form method="post" action="" name="frmlogin" id="frmlogin">        
     <section style="height:60px;">
    <?php if ($this->_tpl_vars['successMsg'] != ''): ?>
    <section id="msg" style="padding:10px;width:420px;"><?php echo $this->_tpl_vars['successMsg']; ?>
</section>
     <?php endif; ?>
    
    <?php if ($this->_tpl_vars['errorMsg']): ?><div style="padding:5px;"><div class="error_msg" style="width:420px;" > <span><?php echo $this->_tpl_vars['errorMsg']; ?>
</span></div></div><?php endif; ?>  
    </section>
	<section class="login_box_container lF">
    <section class="login_form no_bor lF" >
    <h3>Are you a supplier?</h3><br />
    	<dl style="float:none!important;">
        	<dt>Email</dt>
            <dd><input type="text" class="input" id="unm" name="unm" <?php if ($this->_tpl_vars['User_name'] != ''): ?> value="<?php echo $this->_tpl_vars['User_name']; ?>
" <?php endif; ?> /></dd>
            <section class="clear"></section>
        </dl><br />
        <dl  style=" float:none!important;">
        	<dt>Password</dt>
            <dd><input type="password" class="input" id="pw" name="pw" maxlength="15" <?php if ($this->_tpl_vars['User_pass'] != ''): ?> value="<?php echo $this->_tpl_vars['User_pass']; ?>
" <?php endif; ?> onkeypress="return isSpace(event);" /></dd>
            <section class="clear"></section>
        </dl><br />
        <input type="checkbox"  name="rememberMe" id="rememberMe" value="1">Remember me <em>(This is not recommended for shared computers)</em><br /><br />
        <section>
        	<span class="for_pass"><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/signin/forgotpasswod/">Forgotten your password?</a></span>
        	<section style="margin:15px 50px 0px 0px;"><input type="submit" name="signin" class="blue_btn rF" value="Supplier Login"></section>
        </section>
        <section class="clear"></section>
        
        <section><span class="lF"><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/register/">Are you new user?</a></span></section>
    </section>
    <section class="clear"></section>
    </section>
     </form>
    </section>
    
     <section class="rF" style="width:475px;">
     <form method="post" action="" name="frmloginhome" id="frmloginhome">
     <section style="height:60px;">
     <?php if ($this->_tpl_vars['errorMsgHome']): ?><div style="padding:5px; display:block; height:35px;"><div class="error_msg" > <span><?php echo $this->_tpl_vars['errorMsgHome']; ?>
</span></div>
     </div><?php endif; ?>  
     </section>
     
     	<section class="login_box_container rF">
     <section class="login_form no_bor" >
	    <h2>Are you a client?</h2><br />
    	<dl style=" float:none!important;">
        	<dt>Email</dt>
            <dd><input type="text" class="input" id="username" name="username" <?php if ($this->_tpl_vars['Homeowner_User_name'] != ''): ?> value="<?php echo $this->_tpl_vars['Homeowner_User_name']; ?>
" <?php endif; ?> /></dd>
            <section class="clear"></section>
        </dl><br />
        <dl  style=" float:none!important;">
        	<dt>Password</dt>
            <dd><input type="password" class="input" id="password" name="password" maxlength="15" <?php if ($this->_tpl_vars['Homeowner_User_pass'] != ''): ?> value="<?php echo $this->_tpl_vars['Homeowner_User_pass']; ?>
" <?php endif; ?> onkeypress="return isSpace(event);" /></dd>
            <section class="clear"></section>
        </dl><br />
        <input type="checkbox"  name="rememberMehomeowner" id="rememberMehomeowner" value="1">Remember me <em>(This is not recommended for shared computers)</em><br /><br />
        <section>
        	<span class="for_pass"><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/signin/forgotpasswod/">Forgotten your password?</a></span>
        	<section style="margin:15px 22px 0px 0px;"><input type="submit" name="signinhomeowner" class="org_btn rF" value="Client Login"> <section class="clear"></section></section>
        </section>
        <section class="clear"></section>
        
        <section><span class="lF"><a href="<?php echo $this->_tpl_vars['siteroot']; ?>
/">Are you new user?</a></span></section>
    </section>
    </section>
     <section class="clear"></section>
    </form>
     </section>
     <section class="clear"></section>
  </section>   
</section>
</section>

<!-- FOOTER PORTION GOES HERE -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['footer'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>


<?php if ($_GET['id1'] == 'msg' && $_GET['id2'] == 'open'):  echo '<script type="text/javascript" language="javascript" src="';  echo $this->_tpl_vars['siteroot'];  echo '/includes/js/ibox/ibox.js"></script>'; ?>


<?php echo '
	<script type="text/javascript">	
	   	iBox.showURL(SITEROOT+\'/modules/signin/firsttime.php\',\'Update Your Profile\',{ 
			    width: \'500px\',
				height: \'300\' 
				
			});
	</script>
    '; ?>

<?php endif; ?>